package com.ytktt.study.week8.task2.mapper;

import com.ytktt.study.week8.task2.entity.OrderInfoEntity;

import java.util.List;

public interface OrderInfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(OrderInfoEntity record);

    int insertSelective(OrderInfoEntity record);

    OrderInfoEntity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(OrderInfoEntity record);

    int updateByPrimaryKey(OrderInfoEntity record);

    int insertBatch(List<OrderInfoEntity> list);

    int deleteAll();

    List<OrderInfoEntity> selectAll();

    List<OrderInfoEntity> selectByUserId(Integer userId);
}